let v = 0.10
let apiArr = [
  { fnName: 'sendTalkMsg', params: 'talk_id,content,type', tip: '发送会话消息' },
  { fnName: 'makeDialogue', params: 'title,toMemberId,content', tip: '创建临时会话' },
  { fnName: 'editSelfName', params: 'name', tip: '修改用户姓名' },
  { fnName: 'editAvatarurl', params: 'file', tip: '修改用户头像' },
  { fnName: 'addFriendUseMemberId', params: 'member_id', tip: '通过MemberId添加好友 ' },
  { fnName: 'addFriendUseTalkId', params: 'talk_id', tip: '通过TalkId添加好友' },
  { fnName: 'examineToFriend', params: 'clientMsgId,userSelect', tip: '审核好友' },
  { fnName: 'deleteFriend', params: 'talk_id', tip: '删除好友' },
  { fnName: 'findFriendFromTel', params: 'tel', tip: '通过手机号搜索用户' },
  { fnName: 'addTalkObjectCallback', params: 'onNewChatAlert,onListRefresh,onTalkDetailRefresh,onTalkWithMsg', tip: 'talkObject 添加回调函数。' },
  { fnName: 'getTalkList', params: '', tip: "获取会话列表" },
  { fnName: 'getChat', params: 'talk_id', tip: "获取历史记录" },
  { fnName: 'fetchFriendApplyList', params: '', tip: "获取申请列表数据" },
  { fnName: 'resend', params: '', tip: "消息重发" },
  { fnName: 'getTalkDetail', params: 'talk_id', tip: "取会话用户信息" },
  { fnName: 'exitTalk', params: '', tip: "用户退出聊天界面" },
  { fnName: 'setConfig', params: 'option', tip: "socket实例" },
  { fnName: 'loginOut', params: '', tip: "(测试)断开连接" },
  { fnName: 'quickConnect', params: 'key,token,member_id,port', tip: "快速登录" },
  { fnName: 'readyStateLogin', params: '', tip: "判断登录状态" },
]

export {apiArr, v}